//全局变量 在App.vue中注入globalData，无需额外引入，用getApp().globalData.common的方式引用
const debug = true;
const version = "1.1.2";
const baseDomain = debug ? "https://www.zyxgo.xyz/api" : "https://www.zyxgo.xyz/api";
const prefix = "/";
const agreementDomain = "https://aiot.shenling.com";
// const mqtt = debug ? {
// 	// url: "ws://10.10.10.83:8083",
// 	// host: "10.10.10.83",
// 	// port: "8083",
// 	// protocol: "wx",
// 	url: "wss://aiot.shenling.com",
// 	host: "aiot.shenling.com",
// 	port: "",
// 	protocol: "wxs",
// } : {
// 	url: "wss://aiot.shenling.com",
// 	host: "aiot.shenling.com",
// 	port: "",
// 	protocol: "wxs",
// }

export default {
	debug,
	version,
	baseUrl: baseDomain + prefix,
	baseDomain,
	agreementDomain,
	//是否忽略登录
	noLogin: false,
	//是否忽略所有接口
	noInter: false,
	appType: "WECHAT_MINI_APP",
	//申菱服务平台公众号id
	officialAccountAppid: "wx5d257bfd00f9da50",
	// mqtt,
}